package com.dream.dao;

import com.dream.bean.Role;

/**
 * 概要:
 *
 * @Author:匠人码农
 * @Date:2021/12/28 23:33
 */
public interface RoleDao {

    /**
     * 通过用户名查询角色
     * @param userName
     * @return
     */
    Role queryRoleByUserName(String userName);


    Role queryRoleByRoleName(String roleName);

}
